package com.modules.asset.service;

import com.modules.asset.model.dto.UserCreateRequest;
import com.modules.asset.model.dto.UserResponse;
import com.modules.asset.model.dto.UserUpdateRequest;

import java.util.List;

/**
 * User 服务接口。
 * @author system
 */
public interface UserService {

    UserResponse create(UserCreateRequest request);

    UserResponse update(Long id, UserUpdateRequest request);

    void delete(Long id);

    UserResponse findById(Long id);

    List<UserResponse> listAll();
}
